<?php
require_once("jssdk.php");
require_once("../config.php");
$jssdk = new JSSDK(APPID, SECRET);
$signPackage = $jssdk->GetSignPackage($_POST['url']);
header('Content-Type: application/json; charset=utf-8');
echo json_encode($signPackage);
exit(0);
?>